﻿<UserControl
    x:Class="Windows_8_MVVM.Controls.AboutPane"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mvvm="using:Ebt.Mvvm"
    mc:Ignorable="d"
    d:DesignHeight="300"
    d:DesignWidth="400">
    <FrameworkElement.Resources>
        <mvvm:SettingsCharmManager x:Key="SettingsCharmManager"/>
    </FrameworkElement.Resources>
    <Border BorderBrush="White" BorderThickness="2 0 0 0">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="*" />
            </Grid.RowDefinitions>
            <Border Grid.Row="0">
                <StackPanel Orientation="Horizontal" Margin="36 34 20 14" Height="36">
                    <Button VerticalAlignment="Top" Width="38" Height="38" FontSize="46" HorizontalAlignment="Left"
                            Margin="0"
                            Style="{StaticResource BackButtonStyle}"
                            DataContext="{StaticResource SettingsCharmManager}"
                            Command="{Binding GoBackCommand}" />
                    <TextBlock Margin="10 0 0 0" FontSize="25" Text="About" TextWrapping="NoWrap"
                               TextTrimming="WordEllipsis"
                               VerticalAlignment="Center" />
                </StackPanel>
            </Border>
            <Border Grid.Row="1" Background="White">
                <StackPanel Margin="36 34 20 14">
                    <TextBlock Text="About text" TextWrapping="Wrap" Foreground="Black" FontSize="20" />
                </StackPanel>
            </Border>
        </Grid>
    </Border>
</UserControl>
